CoinAndBeyond

Additional

Language
Kotlin
Version
1.0.3 (Feb 9, 2019)
Created
Jan 4, 2019
Updated
Jul 2, 2019 (Retired)
Owner
Barış ATALAY (barisatalay)
Contributors
Barış ATALAY (barisatalay)
Emre (emreakcan)
2
Activity
Badge
Generate
Download
Source code

Advertisement

CoinAndBeyond

Turkish Bitcoin stock market library Android Bitcoin Library

Market List:

BtcTurk Api, Koineks Api, Paribu Api, SistemKoin Api

Whos uses this library?

For now, no one :)

Usage

Step 1 (gradle.properties)

....
....

android.useAndroidX=true
android.enableJetifier=true

Step 2

allprojects {
 repositories {
 ...
  maven { url 'https://jitpack.io' }
 }
}

Step 3

Add dependencies in build.gradle.

dependencies {
 implementation "androidx.appcompat:appcompat:1.0.2"
 implementation 'com.github.barisatalay:CoinAndBeyond:1.0.1'
}

Step 4 (Use of library for AndroidX)

//For Paribu market
val myObject = CoinAndBeyond(Paribu(), this)
//For Koineks market
val myObject = CoinAndBeyond(Koineks(), this)
//For BtcTurk market
val myObject = CoinAndBeyond(BtcTurk(), this)
//For Sistem Koin market
val myObject = CoinAndBeyond(SistemKoin(), this)

//The coin list that will be returned from the "getCoins" method is filtered according to the list you provided here.
//NOTE: If you submit a blank list, they are all listed.
myObject.setCoinFilter(arrayOf(enmCoin.BTC, enmCoin.XRP, etc.))

//EN: Returns the coins published by the dataset(the Web Site) you are trying to use
myObject.getAvailableCoins()

myObject.getCoins(Observer {response->
  //use this object "response"
  ....
})

Contact me

If you have a better idea or way on this project, please let me know, thanks :)

Email

My Blog

My Linkedin